package com.mcc.app.stock.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 物料配置对象 sinter_matter
 *
 * @author gxy
 * @date 2024-07-30
 */
@ApiModel("物料配置对象")
@Data
public class SinterMatter implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId
    @ApiModelProperty("ID")
    private Long id;

    @ApiModelProperty("物料名称")
    private String matterName;

    @ApiModelProperty("物料类型，1为原料，2为溶剂，3为燃料，4为其他")
    private Integer matterType;

    @ApiModelProperty("物料规格")
    private String matterSpec;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("创建时间")
    private Date createDt;

    @ApiModelProperty("单价")
    private Long price;

}
